package com.yxinsur.imc.business.events.event;

import com.yxinsur.imc.business.domain.ImcTeam;
import org.springframework.context.ApplicationEvent;

/**
 * 团队信息录入事件
 */
public class TeamCreateEvent  extends ApplicationEvent {
    private String msg;
    private ImcTeam imcTeam;

    public TeamCreateEvent(Object source, String msg, ImcTeam imcTeam) {
        super(source);
        this.msg = msg;
        this.imcTeam = imcTeam;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ImcTeam getImcTeam() {
        return imcTeam;
    }

    public void setImcTeam(ImcTeam imcTeam) {
        this.imcTeam = imcTeam;
    }
}
